package com.darkness.rpc.framework.protocol;

import com.darkness.rpc.framework.common.Invocation;
import org.apache.dubbo.common.extension.SPI;

/**
 * @author darkness
 * @time 2022/4/15 13:26
 * @description
 */
@SPI
public interface RequestHandler {

    Object handleRequest(String ip, Integer port, Invocation request, Class<?> returnType);

}
